package com.xinzhi.service;


import com.xinzhi.domain.Applicant;
import com.xinzhi.domain.vo.OrderListVO;
import com.xinzhi.domain.entity.need.OrderRequest;
import com.xinzhi.utils.Result;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface OrderService {

    Result newOrder(List<OrderRequest> list, HttpServletRequest request);

    Result  seeOrdersByState(Integer userId,Integer state,Integer nowPage);

    Result updateOrderState(String orderNum, Integer state);

    String crossTime();

    List<Applicant> showPoint();

    Result showManById(Integer userId);

    List<OrderListVO>  underOrdersInfo(Integer applicantId,Integer state,Integer nowPage);

    OrderListVO  goBuy(Integer userId,Integer productId);

    Result pay(String orderNum);





}
